package com.cvv.entity;

public class Product {
   
    private Integer productid;
    
    private String firstclass;
    
    private String secondclass;

    private String productname;

    private String unit;

    private Integer originalprice;
      
    private Integer discount;

    private Integer costprice;
     
    private String provider;

    private String productremark;
    
    private Integer Kucount;
    
    private String productinfo;
    
    private Integer ordercounts;
    
    private Integer customerid;  

	public Integer getCustomerid() {
		return customerid;
	}


	public void setCustomerid(Integer customerid) {
		this.customerid = customerid;
	}


	public Integer getProductid() {
        return productid;
    }

     
    public void setProductid(Integer productid) {
        this.productid = productid;
    }

      
    public String getProductname() {
        return productname;
    }

      
    public void setProductname(String productname) {
        this.productname = productname == null ? null : productname.trim();
    }

    public String getSecondclass() {
        return secondclass;
    }

    public void setSecondclass(String secondclass) {
        this.secondclass = secondclass;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit == null ? null : unit.trim();
    }

    public Integer getOriginalprice() {
        return originalprice;
    }

    public void setOriginalprice(Integer originalprice) {
        this.originalprice = originalprice;
    }

    public Integer getDiscount() {
        return discount;
    }
    public void setDiscount(Integer discount) {
        this.discount = discount;
    }
    public Integer getCostprice() {
        return costprice;
    }
      
    public void setCostprice(Integer costprice) {
        this.costprice = costprice;
    }

    public String getProvider() {
        return provider;
    }

     
      
    public void setProvider(String provider) {
        this.provider = provider == null ? null : provider.trim();
    }

    public String getProductremark() {
        return productremark;
    }

     
    public void setProductremark(String productremark) {
        this.productremark = productremark == null ? null : productremark.trim();
    }


	public String getFirstclass() {
		return firstclass;
	}


	public void setFirstclass(String firstclass) {
		this.firstclass = firstclass;
	}

	public Integer getKucount() {
		return Kucount;
	}


	public void setKucount(Integer kucount) {
		Kucount = kucount;
	}


	public String getProductinfo() {
		return productinfo;
	}


	public void setProductinfo(String productinfo) {
		this.productinfo = productinfo;
	}
	

	
	public Integer getOrdercounts() {
		return ordercounts;
	}


	public void setOrdercounts(Integer ordercounts) {
		this.ordercounts = ordercounts;
	}


	public Product() {
		
	}
	
	public Product(Integer productid, String productremark, Integer Kucount) {
		this.productid = productid;
		this.productremark = productremark;
		this.Kucount = Kucount;
	}
	
	public Product(Integer productid, String productname, String secondclass, String unit, Integer discount,
			String provider, String productremark, String firstClass, String productinfo, Integer Kucount) {
		this.productid = productid;
		this.productname = productname;
		this.secondclass = secondclass;
		this.unit = unit;
		this.discount = discount;
		this.provider = provider;
		this.productremark = productremark;
		this.firstclass = firstclass;
		this.productinfo = productinfo;
		this.Kucount = Kucount;
	}
	
	public Product(Integer productid, String productname, String secondclass, String unit, Integer originalprice,
			Integer discount, String provider, String productremark, String firstclass, String productInfo,
			Integer Kucount) {
		this.productid = productid;
		this.productname = productname;
		this.secondclass = secondclass;
		this.unit = unit;
		this.originalprice = originalprice;
		this.discount = discount;
		this.provider = provider;
		this.productremark = productremark;
		this.firstclass = firstclass;
		this.productinfo = productInfo;
		this.Kucount = Kucount;
	}


	public Product(Integer productid, String productname, String secondclass, String unit, Integer originalprice,
			Integer discount, String provider, String firstclass, String productInfo, Integer Kucount) {
		this.productid = productid;
		this.productname = productname;
		this.secondclass = secondclass;
		this.unit = unit;
		this.originalprice = originalprice;
		this.discount = discount;
		this.provider = provider;
		this.firstclass = firstclass;
		this.productinfo = productInfo;
		this.Kucount = Kucount;
	}


	@Override
	public String toString() {
		return "Product [productid=" + productid + ", firstclass=" + firstclass + ", secondclass=" + secondclass
				+ ", productname=" + productname + ", unit=" + unit + ", originalprice=" + originalprice + ", discount="
				+ discount + ", costprice=" + costprice + ", provider=" + provider + ", productremark=" + productremark
				+ ", Kucount=" + Kucount + ", productinfo=" + productinfo + ", ordercounts=" + ordercounts
				+ ", customerid=" + customerid + "]";
	}



}